package com.ruoyi.purchase.mapper;

import java.util.List;
import com.ruoyi.purchase.domain.BizPurchaseOrderItem;

/**
 * 采购订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public interface BizPurchaseOrderItemMapper 
{
    /**
     * 查询采购订单明细
     * 
     * @param itemId 采购订单明细主键
     * @return 采购订单明细
     */
    public BizPurchaseOrderItem selectBizPurchaseOrderItemByItemId(Long itemId);

    /**
     * 查询采购订单明细列表
     * 
     * @param bizPurchaseOrderItem 采购订单明细
     * @return 采购订单明细集合
     */
    public List<BizPurchaseOrderItem> selectBizPurchaseOrderItemList(BizPurchaseOrderItem bizPurchaseOrderItem);

    /**
     * 新增采购订单明细
     * 
     * @param bizPurchaseOrderItem 采购订单明细
     * @return 结果
     */
    public int insertBizPurchaseOrderItem(BizPurchaseOrderItem bizPurchaseOrderItem);

    /**
     * 修改采购订单明细
     * 
     * @param bizPurchaseOrderItem 采购订单明细
     * @return 结果
     */
    public int updateBizPurchaseOrderItem(BizPurchaseOrderItem bizPurchaseOrderItem);

    /**
     * 删除采购订单明细
     * 
     * @param itemId 采购订单明细主键
     * @return 结果
     */
    public int deleteBizPurchaseOrderItemByItemId(Long itemId);

    /**
     * 批量删除采购订单明细
     * 
     * @param itemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBizPurchaseOrderItemByItemIds(String[] itemIds);
}
